package com.pig4cloud.service.impl;

import com.pig4cloud.domain.SysUser;
import com.pig4cloud.mapper.SysUserMapper;
import com.pig4cloud.service.SysUserService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

@Service
public class SysUserServiceImpl implements SysUserService {

    @Autowired
    private SysUserMapper sysUserMapper;

    @Override
    public List<SysUser> findAll() {
        List<SysUser> sysUsers = sysUserMapper.userList();
        return sysUsers;
    }
}
